package com.eleadmin.goods.param;

import com.eleadmin.common.core.annotation.QueryField;
import com.eleadmin.common.core.annotation.QueryType;
import com.eleadmin.common.core.web.BaseParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "商品查询参数")
public class GoodsParam extends BaseParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品编码")
    @QueryField(type = QueryType.EQ)
    private String goodId;

    @ApiModelProperty("商品名称")
    private String title;

}

